﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.Blog.DTO.BlogLogin;

/// <summary>
///     博客注册模型
/// </summary>
public class BlogLoginDTO
{
    /// <summary>
    ///     博客用户账号
    /// </summary>
    [Required(ErrorMessage = "账号不可为空")]
    public string Account { get; set; }

    /// <summary>
    ///     博客用户密码
    /// </summary>
    [Required(ErrorMessage = "密码不可为空")]
    public string Password { get; set; }
}